package com.ooolong.expression;

public class IllegalExpressionException extends ExpressionException {

	private String error;
	private String expression;
	private int from;
	private int end;

	public IllegalExpressionException(String error, String expression, int from, int end) {
		super(error);
		this.error = error;
		this.expression = expression;
		this.from = from;
		this.end = end;
	}

	public String getError() {
		return error;
	}

	public String getExpression() {
		return expression;
	}

	public int getFrom() {
		return from;
	}

	public int getEnd() {
		return end;
	}
	
	
}
